<div class="polls form">
<?php echo $form->create('Poll');?>
	<fieldset>
 		<legend><?php __('Agregar Encuesta');?></legend>
	<?php
		echo $form->input('title',array('label'=>'Titulo'));
		echo $form->input('activo',array('type'=>'hidden','value'=>'1'));
		echo $form->input('home',array('type'=>'hidden','value'=>'1'));
	?>
	</fieldset>
	<fieldset>
 		<legend><?php __('Opciones');?></legend>
	<?php 
		echo $form->input('PollOption.1.title',array('label'=>'Opcion 1'));
		echo $form->input('PollOption.2.title',array('label'=>'Opcion 2'));
		echo $form->input('PollOption.3.title',array('label'=>'Opcion 3'));
		echo $form->input('PollOption.4.title',array('label'=>'Opcion 4'));
	?>
	</fieldset>
<?php echo $form->end('Crear');?>
</div>
